
// 清除无效值。
export const cleanObject = (obj) => Object.fromEntries(
  Object.entries(obj).filter(([_, value]) => value !== undefined)
)


